package com.onpositive.notes.services;

import java.io.Serializable;
import java.util.List;

import com.onpositive.notes.model.INote;
import com.onpositive.notes.model.INoteEntry;
import com.onpositive.notes.model.ITemplate;

public interface INoteRegistry extends Serializable {
	
	List<INote> getAllNotes() ;
	
	INote getNote( int id ) ;
	
	ITemplate getTemplate( int id ) ;
	
	INoteEntry getNoteEntry( int id ) ;
	
	//returns note id
	int registerNote( INote note ) ;
	
	boolean isIinitialized() ;
	
	boolean unRegisterNote(INote note) ;
}
